package com.bigdata.service.service;

import com.bigdata.service.domain.HistoryRecords;
import com.bigdata.service.domain.vo.HistoryRecordsVo;
import com.bigdata.service.domain.bo.HistoryRecordsBo;
import com.bigdata.common.core.page.TableDataInfo;
import com.bigdata.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 地图预警Service接口
 *
 * @author ruoyi
 * @date 2025-08-19
 */
public interface IHistoryRecordsService {

    /**
     * 查询地图预警
     */
    HistoryRecordsVo queryById(Long recordId);

    /**
     * 查询地图预警列表
     */
    TableDataInfo<HistoryRecordsVo> queryPageList(HistoryRecordsBo bo, PageQuery pageQuery);

    /**
     * 查询地图预警列表
     */
    List<HistoryRecordsVo> queryList(HistoryRecordsBo bo);

    /**
     * 新增地图预警
     */
    Boolean insertByBo(HistoryRecordsBo bo);

    /**
     * 修改地图预警
     */
    Boolean updateByBo(HistoryRecordsBo bo);

    /**
     * 校验并批量删除地图预警信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
